<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Info extends CI_Controller {

    public function __construct()
	{
	    parent::__construct();
	    $this->load->helper('cookie');
	}
    public function session(){
	    $arr = $this->session->all_userdata();
		print_r($arr);
	}
	
	public function cookie(){
	    $arr = array(  AUTH_COOKIE => get_cookie(AUTH_COOKIE) );
		print_r($arr);
	}
}

?>